package com.abc.qq.view.tcp2;

import java.io.IOException;
import java.net.ServerSocket;
import java.util.concurrent.ConcurrentHashMap;

public class MyServer2 {
    public static ConcurrentHashMap<String, String> stus = new ConcurrentHashMap<>();
    public static void main(String[] args) {
        try {
            ServerSocket serverSocket = new ServerSocket(8888);
            ServerThread2 serverThread2 = new ServerThread2(serverSocket);
            new Thread(serverThread2).start();

            System.out.println("main()执行完成");
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
